package com.w7vm.menuweb.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the ComposicaoCardBuffetWeb database table.
 * 
 */
@Entity

@NamedQueries({
	@NamedQuery(name="ComposicaoCardBuffet.deleteCompCardBuffetByIDCardBuffet", 
					query="DELETE FROM ComposicaoCardBuffetWeb cb" +
							" WHERE cb.idComposicaoCardBuffetWeb = :idComposicaoCardBuffetWeb"),

})

public class ComposicaoCardBuffetWeb implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static final String DELETE_COMPOSICAO_CARBUFFET_BY_IDCARDAPIOBUFFET = "ComposicaoCardBuffet.deleteCompCardBuffetByIDCardBuffet";


	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int idComposicaoCardBuffetWeb;

	//bi-directional many-to-one association to CardapioBuffetWeb
	@ManyToOne(fetch=FetchType.EAGER,cascade=CascadeType.ALL)
	@JoinColumn(name="idCardapioBuffet")
	private CardapioBuffetWeb cardapioBuffetWeb;

	//bi-directional many-to-one association to CarneAvesAlimentoSy
    @ManyToOne
	@JoinColumn(name="idCarneAvesAlimento")
	private CarneAvesAlimentoSy carneAvesAlimentoSy;

	//bi-directional many-to-one association to CarneBovinaAlimentoSy
    @ManyToOne
	@JoinColumn(name="idCarneBovinaAlimento")
	private CarneBovinaAlimentoSy carneBovinaAlimentoSy;

	//bi-directional many-to-one association to CarneSuinaAlimentoSy
    @ManyToOne
	@JoinColumn(name="idCarneSuinaAlimento")
	private CarneSuinaAlimentoSy carneSuinaAlimentoSy;

	//bi-directional many-to-one association to CereaisAlimentoSy
    @ManyToOne
	@JoinColumn(name="idCerealAlimento")
	private CereaisAlimentoSy cereaisAlimentoSy;

	//bi-directional many-to-one association to DocesAlimentoSy
    @ManyToOne
	@JoinColumn(name="idDoceAlimento")
	private DocesAlimentoSy docesAlimentoSy;

	//bi-directional many-to-one association to FrutasAlimentoSy
    @ManyToOne
	@JoinColumn(name="idFrutaAlimento")
	private FrutasAlimentoSy frutasAlimentoSy;

	//bi-directional many-to-one association to HortalicasAlimentoSy
    @ManyToOne
	@JoinColumn(name="idHortalicasAlimento")
	private HortalicasAlimentoSy hortalicasAlimentoSy;

	//bi-directional many-to-one association to MassasAlimentoSy
    @ManyToOne
	@JoinColumn(name="idMassasAlimento")
	private MassasAlimentoSy massasAlimentoSy;

	//bi-directional many-to-one association to PeixesAlimentoSy
    @ManyToOne
	@JoinColumn(name="idPeixeAlimento")
	private PeixesAlimentoSy peixesAlimentoSy;

    public ComposicaoCardBuffetWeb() {
    }

	public int getIdComposicaoCardBuffetWeb() {
		return this.idComposicaoCardBuffetWeb;
	}

	public void setIdComposicaoCardBuffetWeb(int idComposicaoCardBuffetWeb) {
		this.idComposicaoCardBuffetWeb = idComposicaoCardBuffetWeb;
	}

	public CardapioBuffetWeb getCardapioBuffetWeb() {
		return this.cardapioBuffetWeb;
	}

	public void setCardapioBuffetWeb(CardapioBuffetWeb cardapioBuffetWeb) {
		this.cardapioBuffetWeb = cardapioBuffetWeb;
	}
	
	public CarneAvesAlimentoSy getCarneAvesAlimentoSy() {
		return this.carneAvesAlimentoSy;
	}

	public void setCarneAvesAlimentoSy(CarneAvesAlimentoSy carneAvesAlimentoSy) {
		this.carneAvesAlimentoSy = carneAvesAlimentoSy;
	}
	
	public CarneBovinaAlimentoSy getCarneBovinaAlimentoSy() {
		return this.carneBovinaAlimentoSy;
	}

	public void setCarneBovinaAlimentoSy(CarneBovinaAlimentoSy carneBovinaAlimentoSy) {
		this.carneBovinaAlimentoSy = carneBovinaAlimentoSy;
	}
	
	public CarneSuinaAlimentoSy getCarneSuinaAlimentoSy() {
		return this.carneSuinaAlimentoSy;
	}

	public void setCarneSuinaAlimentoSy(CarneSuinaAlimentoSy carneSuinaAlimentoSy) {
		this.carneSuinaAlimentoSy = carneSuinaAlimentoSy;
	}
	
	public CereaisAlimentoSy getCereaisAlimentoSy() {
		return this.cereaisAlimentoSy;
	}

	public void setCereaisAlimentoSy(CereaisAlimentoSy cereaisAlimentoSy) {
		this.cereaisAlimentoSy = cereaisAlimentoSy;
	}
	
	public DocesAlimentoSy getDocesAlimentoSy() {
		return this.docesAlimentoSy;
	}

	public void setDocesAlimentoSy(DocesAlimentoSy docesAlimentoSy) {
		this.docesAlimentoSy = docesAlimentoSy;
	}
	
	public FrutasAlimentoSy getFrutasAlimentoSy() {
		return this.frutasAlimentoSy;
	}

	public void setFrutasAlimentoSy(FrutasAlimentoSy frutasAlimentoSy) {
		this.frutasAlimentoSy = frutasAlimentoSy;
	}
	
	public HortalicasAlimentoSy getHortalicasAlimentoSy() {
		return this.hortalicasAlimentoSy;
	}

	public void setHortalicasAlimentoSy(HortalicasAlimentoSy hortalicasAlimentoSy) {
		this.hortalicasAlimentoSy = hortalicasAlimentoSy;
	}
	
	public MassasAlimentoSy getMassasAlimentoSy() {
		return this.massasAlimentoSy;
	}

	public void setMassasAlimentoSy(MassasAlimentoSy massasAlimentoSy) {
		this.massasAlimentoSy = massasAlimentoSy;
	}
	
	public PeixesAlimentoSy getPeixesAlimentoSy() {
		return this.peixesAlimentoSy;
	}

	public void setPeixesAlimentoSy(PeixesAlimentoSy peixesAlimentoSy) {
		this.peixesAlimentoSy = peixesAlimentoSy;
	}
	
}